ComponentOne Scheduler for WinForms
Add Method (BaseCollection<T>)

C1.Win.C1Schedule.4 Assembly > C1.C1Schedule Namespace > BaseCollection<T> Class : Add Method
Adds a new custom object to the collection. If the item already exists in the collection, its index is returned.
Syntax
'Declaration
 
Public Shadows Function Add( _
   ByVal item As T _
) As System.Integer
public new System.int Add( 
   T item
)

Parameters

item

Return Value

Returns the index of newly added custom object.
See Also

Reference

BaseCollection<T> Class
BaseCollection<T> Members